<?php

namespace App\Enums;

use Filament\Support\Contracts\HasIcon;
use Filament\Support\Contracts\HasLabel;

enum NavigationGroup implements HasIcon, HasLabel
{
    case Permissions;

    case Settings;

    public function getLabel(): string
    {
        return match ($this) {
            self::Permissions => '权限管理',
            self::Settings => '系统设置',
        };
    }

    public function getIcon(): ?string
    {
        return match ($this) {
            self::Permissions => 'heroicon-o-check-badge',
            self::Settings => 'heroicon-o-cog-6-tooth',
        };
    }
}
